package com.antu.first.web.frontend;

import com.antu.first.bean.User;
import com.antu.first.util.wechat.WechatUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.io.IOException;

/**
 * Created by Administrator on 2018/3/10 0010.
 */
@RequestMapping("/user")
public class UserLogin {

    @RequestMapping(value = "/getopenid", method = RequestMethod.POST)
    public void getOpenId(User user) throws IOException {
        System.out.println(user);
    }

}
